package com.cx.service.impl;

import com.cx.mapper.RoominfoMapper;
import com.cx.pojo.Roominfo;
import com.cx.service.RoomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoomServiceImpl implements RoomService {
    @Autowired
    RoominfoMapper roominfoMapper;

    @Override
    public Roominfo selectRoomById(Integer roomId) {
        return roominfoMapper.selectByPrimaryKey(roomId);
    }
}
